<template>
    <div class="wrapper">
        <hr class="hr-solid-content" data-content="mix-blend-mode: lighten">
        <p>利用mix-blend-mode: lighten;使无标签文字变色。</p>
        <ul class="wonder">
            <li><input type="radio" name="item" checked>选项1</li> 
            <li><input type="radio" name="item">选项2</li> 
            <li><input type="radio" name="item">选项3</li> 
            <li><input type="radio" name="item">选项4</li> 
            <li><input type="radio" name="item">选项5</li> 
        </ul>
    </div>
</template>

<style scoped>
.wrapper {
    padding: 8px;
    overflow: auto;
}

.wonder {
    padding: 0;
    margin: 0;
    list-style-type: none;
    color: #333;
    box-shadow: 0 .6px #ccc, 0 -.6px #ccc;
}

.wonder li {
    position: relative;
    line-height: 40px;
    padding-left: 10px;
    background: #fff;
}

.wonder li:not(:last-child)::after {
    content: '';
    display: block;
    border-top: 1px solid #ccc;
    transform: scaleY(.51);
    margin-top: -1px;
}

.wonder [type=radio] {
    all: inherit;
    position: absolute;
    left: 0; right: 0; top: 0; bottom: 0;
    margin: 0;
    background: transparent;
}

.wonder [type=radio]:active {
    background: linear-gradient(#bbb1, #bbb1);    
}

.wonder [type=radio]:checked::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    right: 10px;
    margin: auto;
    width:10px;
    height: 5px;
    border-left: 2px solid;
    border-bottom: 2px solid;
    transform: rotate(-45deg);
}

.wonder [type=radio]:checked::after {
    content: '';
    position: absolute;
    left: 0; right: 0; top: 0; bottom: 0;
    background: #00a4f6;
    mix-blend-mode: lighten;
}
</style>